package com.example.mall.mbg.mapper;

import com.example.mall.mbg.model.UmsPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 后台管理与角色管理定义Dao
 * Created by myc on 2021/5/26
 */
public interface UmsAdminRoleRelationDao {
    /**
     * 获取用户所有权限
     */
    List<UmsPermission> getPermissionList(@Param("adminId")Long adminId);
}
